package com.nuanshui.heatedloan.credit.request;

import com.nuanshui.heatedloan.dal.IdTypeHandler;

import java.io.Serializable;


/**
 * Created by wangxw on 2017/8/5.
 */
public class BaseRequest implements Serializable{

    public Long getIdRaw() {

        if(this instanceof CustomerId)
        {
            CustomerId customer=(CustomerId)this;
            return  IdTypeHandler.decode(customer.getCustomerId());
        }
        return null;
    }

}
